package com.jk.common.model;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@Document(value = "oprate_log")
public class LogBean implements Serializable {

    private String id;
    private String className;
    private String MethodName;
    private String requestParams;
    private String responseParams;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
